<template>
  <div class="Parent">
    <h4>我是Parent num : {{ num }} ; count:{{count}}  </h4>
    <p>parent里的child1里的count没有直接被操作 所以count值不会被改变</p>
    <Child1 />
  </div>
</template>

<script>
import Child1 from "./Child1";
export default {
  name: "Parent",
  components: {
    Child1,
  },
  data() {
    return {
      num: 0,
      count:11
    };
  },
};
</script>

<style scoped>

</style>
